Fix - typing on a C++ inher-intro or inher-cont line should preserve the
authorAlan Mackenzie <acm@muc.de>
Sun, 28 Aug 2011 11:42:33 +0000 (11:42 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 28 Aug 2011 11:42:33 +0000 (11:42 +0000)
commit0b82fc896d16388eb9c2d63302a2d3f52e275552
tree83ed2b7cdfb5ded28acae8bb5723363897504909
parent36c1bad31ebe764e6a1a894f48762aac73f3b75e
Fix - typing on a C++ inher-intro or inher-cont line should preserve the
fontification of the inherited class names.  Analogously for namespace
names and Java import, extends, etc.

(cc-fonts.el): (c-make-font-lock-BO-decl-search-function): New function.
(c-basic-matchers-after - "Fontify the clauses after various keywords"):
Extract the three keyword lists for the 3 erroneous constructs from the
list of four, and use the new function above in place of an old one.
lisp/ChangeLog
lisp/progmodes/cc-fonts.el